
using System;
using System.Collections;
using System.Data;
using System.Xml;



namespace OR.Lazarus.Library.DataTier.Source
{
   public class ReferenceCollection : OR.Lazarus.Library.DataTier.Source.Lazarus.ReferenceCollection
   {
		public virtual ReferenceDetail GetReferenceFromObject( ObjectDetail p_oObject )
		{
			ReferenceDetail	v_oReturn = null;

			foreach ( ReferenceDetail v_oReference in this.List )
			{
				if ( v_oReference.Object != p_oObject.Name )
				{
					v_oReturn = v_oReference;

					break;
				}
			}

			return ( v_oReturn );
		}
	}
}
   